package cn.tedu.mapper;

import cn.tedu.pojo.entity.Product;
import cn.tedu.pojo.vo.PriductV01;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface ProductMapper {

    int insertProduct(Product product);

    PriductV01 selectProductById(String id);

    int deleteById(Long id);

    int deleteByIds(ArrayList<Long> ids);

    int dynamicUpdate(Product product);

    int selectCount();
}